package com.hofon.medical.provider.dao;

import com.hofon.medical.model.PeopleInfo;
import com.hofon.medical.model.PeopleInfoCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PeopleInfoDao extends MyBatisRepository {
    int countByCriteria(PeopleInfoCriteria example);

    int deleteByCriteria(PeopleInfoCriteria example);

    int insert(PeopleInfo record);

    int insertSelective(PeopleInfo record);

    List<PeopleInfo> selectByCriteria(PeopleInfoCriteria example);

    int updateByCriteriaSelective(@Param("record") PeopleInfo record, @Param("example") PeopleInfoCriteria example);

    int updateByCriteria(@Param("record") PeopleInfo record, @Param("example") PeopleInfoCriteria example);
}